#ifndef __UART_MY_H__
#define __UART_MY_H__

#include "esp_system.h"
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/event_groups.h"
#include "esp_wifi.h"
#include "esp_event_loop.h"
#include "esp_log.h"
#include "nvs_flash.h"
#include "driver/gpio.h"
#include "driver/pwm.h"
#include "driver/uart.h"
#include <stdio.h>
#include "freertos/queue.h"


#define BUF_SIZE (1024)
#define RD_BUF_SIZE (BUF_SIZE)
#define uart_log_port (UART_NUM_0)

extern int size;
extern char msg[RD_BUF_SIZE];
extern int state;

void Uart1Log(void);
void Uart0Transmit(void);
void uart_event_task(void *pvParameters);

#endif